package com.aplikata.evok.bo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.aplikata.bo.City;
import com.aplikata.bo.Domain;
import com.aplikata.bo.User;

/**
 * EvkDomainPatient entity. @author MyEclipse Persistence Tools
 */

public class DomainPatient implements java.io.Serializable {

	/**
	 * @Fields serialVersionUID : TODO
	 */

	private static final long serialVersionUID = 1L;
	// Fields

	private Long id;
	private User user;
	private City city;
	private Domain domain;
	private Patient patient;
	private String street;
	private String code;
	private String oib;
	private String jmbg;
	private Date registDate;
	private String remark;
	private Date operTime;
	private Set<PatientNode> patientNodes = new HashSet<PatientNode>(0);
	private Set<ContactPerson> contactPersons = new HashSet<ContactPerson>(0);

	private String telOffice;
	private String telHome;
	private String mobOffice;
	private String mobHome;
	private String email1;
	private String email2;

	public static final String QY_FIND_DOMAIN_PATIENT = "DomainPatient.findByDomainPatient";
	public static final String QY_FIND_NAME = "DomainPatient.findNameBySurnameName";
	public static final String QY_FIND_USER = "DomainPatient.findByUser";
	
	// Constructors

	/** default constructor */
	public DomainPatient() {
	}
	
	public DomainPatient(Date registDate) {
		this.registDate = registDate;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public City getCity() {
		return this.city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public Domain getDomain() {
		return this.domain;
	}

	public void setDomain(Domain domain) {
		this.domain = domain;
	}

	public String getStreet() {
		return this.street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getOib() {
		return this.oib;
	}

	public void setOib(String oib) {
		this.oib = oib;
	}

	public String getJmbg() {
		return this.jmbg;
	}

	public void setJmbg(String jmbg) {
		this.jmbg = jmbg;
	}

	public Date getRegistDate() {
		return this.registDate;
	}

	public void setRegistDate(Date registDate) {
		this.registDate = registDate;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Patient getPatient() {
		return patient;
	}

	public void setPatient(Patient patient) {
		this.patient = patient;
	}

	public Date getOperTime() {
		return operTime;
	}

	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}

	public Set<PatientNode> getPatientNodes() {
		return patientNodes;
	}

	public void setPatientNodes(Set<PatientNode> patientNodes) {
		this.patientNodes = patientNodes;
	}

	public Set<ContactPerson> getContactPersons() {
		return contactPersons;
	}

	public void setContactPersons(Set<ContactPerson> contactPersons) {
		this.contactPersons = contactPersons;
	}

	public String getTelOffice() {
		return telOffice;
	}

	public void setTelOffice(String telOffice) {
		this.telOffice = telOffice;
	}

	public String getTelHome() {
		return telHome;
	}

	public void setTelHome(String telHome) {
		this.telHome = telHome;
	}

	public String getMobOffice() {
		return mobOffice;
	}

	public void setMobOffice(String mobOffice) {
		this.mobOffice = mobOffice;
	}

	public String getMobHome() {
		return mobHome;
	}

	public void setMobHome(String mobHome) {
		this.mobHome = mobHome;
	}

	public String getEmail1() {
		return email1;
	}

	public void setEmail1(String email1) {
		this.email1 = email1;
	}

	public String getEmail2() {
		return email2;
	}

	public void setEmail2(String email2) {
		this.email2 = email2;
	}

}